package ${table.serviceClassPackage};
<#if table.isGeneratorSelect>
import com.baomidou.mybatisplus.core.metadata.IPage;

</#if>
import ${table.entityClassPackage}.${table.beanName};
import com.baomidou.mybatisplus.extension.service.IService;

/**
* @author：${table.author}
* @since：${table.date}
* @remark：${table.comment}服务层
*/
public interface ${table.generatorName} extends IService<${table.beanName}> {
    <#if table.isGeneratorSelect>
    /**
    * 分页查询By<#if table.selectCustomConditionList?has_content><#list table.selectCustomConditionList as custom>${custom.columnBean} </#list></#if>
    */
     IPage<${table.beanName}> listByPage<#if table.selectCustomWay?has_content>${table.selectCustomWay}</#if>(${table.beanName}  ${table.somallbeanName});
    </#if>
    <#if table.isGeneratorSave>
    /**
    * 保存方法
    */
    boolean save(${table.beanName}  ${table.somallbeanName});
    </#if>
    <#if table.isGeneratorUpdate>
    /**
    * 通过id更新
    */
    boolean updateById(${table.beanName}  ${table.somallbeanName});
    </#if>
    <#if table.isGeneratorDelete>
    /**
    * 通过id删除,非逻辑删除
    */
    boolean deleteById(String id);
    </#if>

}